var Is_play = 0;
var Played_id = 0;
var Music_docname = "music/no1"

function onmusicplay() {

	var myVideo = document.getElementById("music_player");
	var btn_paly = document.getElementById("btn_play");
	var ogg_s = document.getElementById("source_ogg");
	var ogg_m = document.getElementById("source_mp3");
	// ogg_s.src = Music_docname + ".ogg";
	// ogg_m.src = Music_docname + ".mp3";
	if(Is_play == 0) {
		document.getElementById("music_player").load();
		document.getElementById("music_player").play();
		myVideo.play();
		Is_play = 1;
		btn_paly.innerHTML = "暂停";
	} else {
		myVideo.pause();
		Is_play = 0;
		btn_paly.innerHTML = "播放";
	}
}

